From 8cfdfc92fcf41f5db6d30015b20457ca64f0c3ce Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 8 Mar 2025 13:39:40 +0000 Subject: Support method calls from other namespaces (without Wasm support) --- ...mpiler.testing.snapshots.Snapshotter)].expected | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoadInDifferentNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoadInDifferentNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoadInDifferentNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoadInDifferentNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..05f2af25 --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoadInDifferentNamespace(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,22 @@ +Compilation unit elements: + +(data-mutable-decl "shed__method__Example_Project__User__name" int) + +Locals: + * (val "tmp__name__0" int) + +Instructions: + +( + ( + memory-load + (local "tmp__name__0") + pointer=(data-ptr-const "shed__method__Example_Project__User__name") + layout=int + offset=() + ) +) + +Temporary stack: + * PatioLocalRef[name=tmp__name__0] + * PatioLocalRef[name=a] -- cgit v1.2.3